package org.example.model.pay.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("payment")
public class Payment implements Serializable {
    @TableId(value = "payment_id")
    private Integer pkId;
    private String alipayId;//订单id
    private Integer userId;
    private Integer activityId;
    private String activityName;
    private Date createTime;
    @TableField("payment_time")
    private Date updateTime;
    private Float amount;
    private Integer status;//订单的状态，1、未付款 2、已付款 3、交易取消，订单关闭 4、已退款
}
